package com.colin.datamove.mapper.db1;

import com.colin.datamove.entity.CompanyModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("db1AssetCompanyDao")
public interface AssetCompanyDao {
    /**
     * 插入数据
     */
    int insertData(List<CompanyModel> list);

    /**
     * 更新parent_company_id
     */
    int updateParentId();

    /**
     * 更新root_company_id
     */
    int updateRootCompanyId();
}
